<template>
  <div>
    <custom-form
      :columns="columns"
      :rules="rules"
      v-bind="$attrs"
      v-on="listeners"
    >

    </custom-form>
  </div>

</template>

<script>
import customFromMixin from '@/utils/mixin/custom-form'

export default {
  name: 'AddForm',
  mixins: [customFromMixin],
  data() {
    return {
      rules: {},
      // 列配置
      columns: [
        {
          name: '巡检设备',
          field: 'device_id',
          opts: { control: 'inspection_device', name: 'name', required: true },
          type: 'select_table'
        }

      ]
    }
  },
  watch: {

  },
  created() {

  },
  methods: {}
}
</script>

<style scoped>

</style>
